Optimal. Leaf size=137 \[ \frac{(d x)^{m+1} \left (\frac{2 c x}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x+c x^2\right )^p F_1\left (m+1;-p,-p;m+2;-\frac{2 c x}{b-\sqrt{b^2-4 a c}},-\frac{2 c x}{b+\sqrt{b^2-4 a c}}\right )}{d (m+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.60048, antiderivative size = 137, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{(d x)^{m+1} \left (\frac{2 c x}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x+c x^2\right )^p F_1\left (m+1;-p,-p;m+2;-\frac{2 c x}{b-\sqrt{b^2-4 a c}},-\frac{2 c x}{b+\sqrt{b^2-4 a c}}\right )}{d (m+1)} \]
Antiderivative was successfully verified.
[In] Int[(d*x)^m*(a + b*x + c*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 40.2935, size = 114, normalized size = 0.83 \[ \frac{\left (d x\right )^{m + 1} \left (\frac{2 c x}{b - \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (\frac{2 c x}{b + \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (a + b x + c x^{2}\right )^{p} \operatorname{appellf_{1}}{\left (m + 1,- p,- p,m + 2,- \frac{2 c x}{b - \sqrt{- 4 a c + b^{2}}},- \frac{2 c x}{b + \sqrt{- 4 a c + b^{2}}} \right )}}{d \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x)**m*(c*x**2+b*x+a)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 4.59026, size = 439, normalized size = 3.2 \[ \frac{c (m+2) 2^{-p-1} x \left (\sqrt{b^2-4 a c}+b\right ) (d x)^m \left (x \left (b-\sqrt{b^2-4 a c}\right )+2 a\right )^2 \left (\frac{b-\sqrt{b^2-4 a c}}{2 c}+x\right )^{-p} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x}{c}\right )^{p+1} (a+x (b+c x))^{p-1} F_1\left (m+1;-p,-p;m+2;-\frac{2 c x}{b+\sqrt{b^2-4 a c}},\frac{2 c x}{\sqrt{b^2-4 a c}-b}\right )}{(m+1) \left (\sqrt{b^2-4 a c}-b\right ) \left (\sqrt{b^2-4 a c}+b+2 c x\right ) \left (p x \left (\left (\sqrt{b^2-4 a c}-b\right ) F_1\left (m+2;1-p,-p;m+3;-\frac{2 c x}{b+\sqrt{b^2-4 a c}},\frac{2 c x}{\sqrt{b^2-4 a c}-b}\right )-\left (\sqrt{b^2-4 a c}+b\right ) F_1\left (m+2;-p,1-p;m+3;-\frac{2 c x}{b+\sqrt{b^2-4 a c}},\frac{2 c x}{\sqrt{b^2-4 a c}-b}\right )\right )-2 a (m+2) F_1\left (m+1;-p,-p;m+2;-\frac{2 c x}{b+\sqrt{b^2-4 a c}},\frac{2 c x}{\sqrt{b^2-4 a c}-b}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(d*x)^m*(a + b*x + c*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.184, size = 0, normalized size = 0. \[ \int \left ( dx \right ) ^{m} \left ( c{x}^{2}+bx+a \right ) ^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x)^m*(c*x^2+b*x+a)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{2} + b x + a\right )}^{p} \left (d x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^p*(d*x)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (c x^{2} + b x + a\right )}^{p} \left (d x\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^p*(d*x)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x)**m*(c*x**2+b*x+a)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{2} + b x + a\right )}^{p} \left (d x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^p*(d*x)^m,x, algorithm="giac")
[Out]